package com.itheima.reggie.service;

import com.itheima.reggie.domain.Category;

import java.util.List;

//分类模块
public interface CategoryService {

    //查询分类列表
    List<Category> findAll();

    //添加分类
    void save(Category category);

    //修改分类
    void updateById(Category category);

    //删除分类
    void deleteById(Long id);
}
